<div style="margin: 15px;" xmlns="http://www.w3.org/1999/xhtml"
	 xmlns:th="http://www.thymeleaf.org">
	<form class="layui-form" th:object="${user}">
		<input type="hidden" name="id"  th:field="*{id}">
		<div class="layui-form-item">
			<label class="layui-form-label">用户名:</label>
			<div class="layui-input-inline">
				<input type="text" name="username" lay-verify="title" placeholder="请输入用户名" th:field="*{username}" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">昵称:</label>
			<div class="layui-input-inline">
				<input type="text" name="name" placeholder="请输入昵称" autocomplete="off" th:field="*{name}" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">邮箱:</label>
			<div class="layui-input-inline">
				<input type="email" name="email" placeholder="请输入邮箱"  lay-verify="email" th:field="*{email}" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">性别</label>
			<div class="layui-input-block">
				<input type="radio" name="gender" value="0" title="男" checked>
				<input type="radio" name="gender" value="1" title="女">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">密码:</label>
			<div class="layui-input-inline">
				<input type="password" name="password" id="password" required lay-verify="pass" th:value="*{password}" placeholder="请输入密码" autocomplete="off" class="layui-input">
			</div>
			<!--<div class="layui-form-mid layui-word-aux">辅助文字</div>-->
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">确认密码:</label>
			<div class="layui-input-inline">
				<input type="password" id="regPwd" required lay-verify="regPwd" placeholder="请再一次输入密码" th:value="*{password}" autocomplete="off" class="layui-input">
			</div>
			<!--<div class="layui-form-mid layui-word-aux">辅助文字</div>-->
		</div>
		<button lay-filter="edit" lay-submit style="display: none;"></button>
	</form>
</div>